#ifndef P2P_CLIENT_MYUSER_H
#define P2P_CLIENT_MYUSER_H

#include    <stdio.h>
#include    <stdlib.h>
#include    <string.h>
#include    <fcntl.h>
#include    <arpa/inet.h>
#include	<unistd.h>
#include    <vector>
//#include    "proto.h"
using std::vector;

struct User
{
    int fd;
    char UID[20];
};

extern vector <User> userList;

extern int getFd(char *UID);
extern void addFd(int fd, char *UID);

#endif
